package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * 创业导师信息表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_mentor_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MentorInfoModel2 {
    @TableId(type = IdType.AUTO)
    private Integer id;//创业导师信息表ID
    private String name;//创业导师姓名
    private Integer sex;//性别
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp birthTime;//出生日期
    private Integer age;//年龄
    private String nativePlace;//籍贯
    private Integer nation;//民族
    private String health;//身体状况
    private String faceUrl;//头像
    private String politicsFace;//政治面貌
    private String height;//身高
    private Integer education;//学历
    private String school;//毕业学校
    private String schoolSpeciality;//所学专业
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp graduateTime;//毕业时间
    private String phone;//手机号
    private String address;//家庭住址
    private String email;//邮箱
    private String introduction;//简介
    private String workExperience;//工作经历
    private String getCertificate;//获取证书
    //    private String vx;//微信号
//    private String vxImage;//微信二维码
    @TableField(exist = false)
    private String nationText;//民族
    @TableField(exist = false)
    private String educationText;//学历文字
    @TableField(exist = false)
    private String sexText;//性别文本

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp updateTime;
}
